package com.ruoyi.web.domain;

import java.util.List;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 取版对象 mes_take_version
 * 
 * @author wxt
 * @date 2024-02-20
 */
@Data
public class MesTakeVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 取版编号 */
    @Excel(name = "取版编号")
    private String takeCode;

    private String status;
    /** 取版人 */
    @Excel(name = "取版人")
    private String takeUser;

    private String  machineId;

    //@JsonIgnore
    private String  machineName;

    /** 取版时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "取版时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date takeDate;

    /** 取版明细信息 */
    private List<MesTakeversionDetail> mesTakeversionDetailList;


    @TableField(exist = false)
    private  String printId;//生产印刷单id,查询用
    @TableField(exist = false)
    private  String paperNo;//纸张编码,查询用
    @TableField(exist = false)
    private Double machineNum;//机台库存

    @TableField(exist = false)
    private Double  stayNum; //待印刷用纸量

    @TableField(exist = false)
    private Double  alreadyNum; //已选择生产单用纸量

    @TableField(exist = false)
    private String  workshopName; //车间名称

    @TableField(exist = false)
    private String produceNo;

    @TableField(exist = false)
    private String pubNo;

    @TableField(exist = false)
    private String produceId;

    @TableField(exist = false)
    private String shipmentType;
}
